//
//  RecordDataProtocol.h
//  SimulacraDB
//
//  Created by Andre Cohen on 8/9/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import "RecordDataProtocol.h"
#import "ByteArray.h"

@protocol RecordDataProtocol

- (id)initWithData:(ByteArray *)data;
- (id)initWithValue:(NSObject *)data;
- (void)setValueFromData:(ByteArray *)data;
- (ByteArray *)toByteArray;
- (int)size;

- (BOOL)lessThan:(id)anObject;
- (BOOL)greaterThan:(id)anObject;
- (BOOL)equalTo:(id)anObject;

@end
